package com.dhcc.bpm.modules.sandbox.service.impl;

import com.dhcc.bpm.modules.sandbox.entity.TestDictType;
import com.dhcc.bpm.modules.sandbox.vo.TestDictTypeVO;
import com.dhcc.bpm.modules.sandbox.mapper.TestDictTypeMapper;
import com.dhcc.bpm.modules.sandbox.service.ITestDictTypeService;
import org.springblade.core.mp.base.BaseServiceImpl;
import org.springframework.stereotype.Service;
import com.baomidou.mybatisplus.core.metadata.IPage;

/**
 * @ClassName TestDictTypeServiceImpl
 * @Description 沙箱测试数据类型表 服务实现类
 * @Author sjm
 * @Date 2020/2/21 0021 15:16
 * @Version V1.0
 * @Copyright: 2020 东华软件 . All rights reserved.
 **/
@Service
public class TestDictTypeServiceImpl extends BaseServiceImpl<TestDictTypeMapper, TestDictType> implements ITestDictTypeService {

	/**
	 * 自定义分页
	 * @Author sjm
	 * @Date 18:25 2020/2/21 0021
	 * @param page
	 * @param testDictType
	 * @return com.baomidou.mybatisplus.core.metadata.IPage<com.dhcc.bpm.modules.sandbox.vo.TestDictTypeVO>
	 **/
	@Override
	public IPage<TestDictTypeVO> selectTestDictTypePage(IPage<TestDictTypeVO> page, TestDictTypeVO testDictType) {
		return page.setRecords(baseMapper.selectTestDictTypePage(page, testDictType));
	}

}
